package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 抽水记录对象 admin_pump_record
 * 
 * @author ruoyi
 * @date 2020-11-13
 */
public class AdminPumpRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 期数 */
    @Excel(name = "期数")
    private Long period;

    /** 代理id */
    @Excel(name = "代理id")
    private Long agentId;

    /** 代理名称 */
    @Excel(name = "代理名称")
    private String agentName;

    /** 房间号 */
    @Excel(name = "房间号")
    private String room;

    /** 抽水金额 */
    @Excel(name = "抽水金额")
    private BigDecimal price;

    /** 投入总金额 */
    @Excel(name = "投入总金额")
    private BigDecimal sumPrice;

    public BigDecimal getSumPrice() {
        return sumPrice;
    }

    public void setSumPrice(BigDecimal sumPrice) {
        this.sumPrice = sumPrice;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPeriod(Long period) 
    {
        this.period = period;
    }

    public Long getPeriod() 
    {
        return period;
    }
    public void setAgentId(Long agentId) 
    {
        this.agentId = agentId;
    }

    public Long getAgentId() 
    {
        return agentId;
    }
    public void setAgentName(String agentName) 
    {
        this.agentName = agentName;
    }

    public String getAgentName() 
    {
        return agentName;
    }
    public void setRoom(String room) 
    {
        this.room = room;
    }

    public String getRoom() 
    {
        return room;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("period", getPeriod())
            .append("agentId", getAgentId())
            .append("agentName", getAgentName())
            .append("room", getRoom())
            .append("price", getPrice())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
